﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace diploma.core.localize.lang
{
    internal enum Languages : byte
    {
        Russian = 0,
        Ukrainian = 1,
        English = 2,
        Unknow = 100
    }
    internal static class LocalizeFactory
    {
        internal static AbstractDictionary createDictionary(Languages lang)
        {
            switch (lang)
            {
                case Languages.Russian:
                    return RussianDictionary.Instance;
                    break;
                case Languages.Ukrainian:
                    return UkrainianDictionary.Instance;
                    break;
                case Languages.English:
                    return EnglishDictionary.Instance;
                    break;
                default:
                    return UnknowDictionary.Instance;
                    break;
            }
        }
    }
}
